package com.study.dao;

import org.omg.PortableInterceptor.INACTIVE;

import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
public interface BaseDao<T> {
    T findOneById(Integer id);
    List<T> findList(T t);
    int updateById (Integer id);
    int saveById(T t);
    int deleteById(Integer id);
}
